package com.graduate.work.graduatework.dao;

import com.graduate.work.graduatework.entity.AirTicketDetail;

import java.util.List;

/**
 * @author: cuibingqi.
 * @date: 17/5/3 下午7:43.
 * @descripe:
 */
public interface AirTicketDetailMapper {
    /**
     * 航线收藏
     * @param airTiketDetail
     * @return
     */
    public boolean collect(AirTicketDetail airTiketDetail);

    /**
     * 删除收藏航线
     * @param airTiketDetail
     * @return
     */
    public boolean deleteCollet(AirTicketDetail airTiketDetail);

    /**
     * 展示用户所有收藏航线
     * @return
     */
    public List<AirTicketDetail> selectCollect(String userId);

}
